home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
cdplay_y
/
main.c
< prev
next >
Wrap
Text File
|
1993-07-08
|
392b
|
26 lines
#define CONSOLE 1
#include <stdio.h>
#include <snd.h>
#include "cdp.h"
void pad_sel();
void main()
{
int i = 0;
SND_elevol_init(); /* サウンドボリューム調節 */
SND_elevol_set(1, 127, 127);
SND_elevol_mute(0x0030); /* スイッチビット = 110000 */
cdp_diskinf();
while( i == 0 ) /* 演奏中のイベントループ */
{
pad_sel();
cdp_inf_next();
}
}